<%@ page language="java" isELIgnored="false" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>简历列表</title>
</head>
<body>
<a href="${pageContext.request.contextPath}/resume/saveEdit">添加</a>
<table>
    <tr>
        <td>id</td>
        <td>name</td>
        <td>address</td>
        <td>phone</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${allResume}" var="temp">
        <tr>
            <td>${temp.id}</td>
            <td>${temp.name}</td>
            <td>${temp.address}</td>
            <td>${temp.phone}</td>
            <td>
                <a href="${pageContext.request.contextPath}/resume/deleteEdit?id=${temp.id}">删除</a>
                <a href="${pageContext.request.contextPath}/resume/updateEdit?id=${temp.id}">修改</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>